package lobster.games.studios;

import levels.Level1;
import lobster.games.studios.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Main extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);

		Button play = (Button) findViewById(R.id.PlayButton);
		Button levelSelect = (Button) findViewById(R.id.LevelSelectButton);

		play.setOnClickListener(new OnClickListener() {

			// @Override
			public void onClick(View v) {
				Intent intent = new Intent(getApplicationContext(),
						Level1.class);
				startActivity(intent);
			}
		});

		levelSelect.setOnClickListener(new OnClickListener() {

			// @Override
			public void onClick(View v) {
				Intent intent = new Intent(getApplicationContext(),
						LevelSelect.class);
				startActivity(intent);
			}
		});
	}
}